package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_user")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer u_id;

    /**
     * 用户姓名
     */
    private String u_name;

    /**
     * 用户昵称
     */
    private String u_nickname;

    /**
     * 用户的头像
     */
    private String u_img;

    /**
     * 用户联系方式
     */
    private String u_phone;

    /**
     * 微信openID
     */
    private String wx_openid;

    /**
     * 微信开放平台unionid
     */
    private String unionid;


}
